#pragma once
#include <afxwin.h>
#include <io.h>
#include <conio.h>
#include "CLibraryDB.h"
//#include "CConsole.h"
#include "GUI/CMainDialog.h"

#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")

/*
DWORD WINAPI go_console( LPVOID pData ) {
	CConsole __p;
	return 0;
}
*/

class go_mfc: public CWinApp {
	HINSTANCE m_hInstResDLL;

	public:
		go_mfc( void ) {
			
		}

		virtual BOOL InitInstance( void ) {
			//::CreateThread( NULL, 0, ::go_console, NULL, NULL, NULL );
			//CConsole __t;

			CMainDialog mw;
			this->m_pMainWnd = &mw;
			mw.DoModal();

			//AfxMessageBox( _T("pause") );

			return FALSE;
		}
};

go_mfc __roll;